import moment from 'moment/moment'

const transFormDateHandler = function (date) {
  return moment(date).format('YYYY-MM-DD')
}
export default transFormDateHandler
